package com.ruoyi.garbage.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 语音识别记录对象 speech_classify
 *
 * @author 刘哲贤
 * @date 2023-01-07
 */
public class SpeechClassify extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    private Long id;

    /**
     * 文件存储路径
     */
    @Excel(name = "文件存储路径")
    private String filepath;

    /**
     * 一个关键字
     */
    @Excel(name = "一个关键字")
    private String oneKeyword;

    /**
     * 一个结果
     */
    @Excel(name = "一个结果")
    private String oneResult;

    /**
     * 总关键字
     */
    @Excel(name = "总关键字")
    private String allKeyword;

    /**
     * 总结果
     */
    @Excel(name = "总结果")
    private String allResult;

    /**
     * 用户名
     */
    @Excel(name = "用户名")
    private String userName;

    /**
     * 时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date times;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getFilepath() {
        return filepath;
    }

    public void setFilepath(String filepath) {
        this.filepath = filepath;
    }

    public String getOneKeyword() {
        return oneKeyword;
    }

    public void setOneKeyword(String oneKeyword) {
        this.oneKeyword = oneKeyword;
    }

    public String getOneResult() {
        return oneResult;
    }

    public void setOneResult(String oneResult) {
        this.oneResult = oneResult;
    }

    public String getAllKeyword() {
        return allKeyword;
    }

    public void setAllKeyword(String allKeyword) {
        this.allKeyword = allKeyword;
    }

    public String getAllResult() {
        return allResult;
    }

    public void setAllResult(String allResult) {
        this.allResult = allResult;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Date getTimes() {
        return times;
    }

    public void setTimes(Date times) {
        this.times = times;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("filepath", getFilepath())
                .append("oneKeyword", getOneKeyword())
                .append("oneResult", getOneResult())
                .append("allKeyword", getAllKeyword())
                .append("allResult", getAllResult())
                .append("userName", getUserName())
                .append("times", getTimes())
                .toString();
    }
}
